Data and replication code for Hansen, Kristina Jessen: "Greed, Envy, and Admiration: The Distinct Nature of Public Opinion about Redistribution from the Rich” published in the American Political Science Review.  

This document provides an overview of the files needed to replicate the results reported in the article and the supplementary material. Information about data collection procedures is provided in the supplementary material. 

All analyses have been run in Stata SE, version 16.1.


Datafiles: 

“Data1.dta”: Includes the datafile used to produce the results for Sample 1 in the article as well as in the supplementary material (Stata format).

“Data2.dta”: Includes the datafile used to produce the results for Sample 2 in the article as well as in the supplementary material (Stata format).

“Data3.dta”: Includes the datafile used to produce the results for Sample 3 in the article as well as in the supplementary material (Stata format). 

“Data4.dta”: Includes the datafile used to produce the results for Sample 4 in the article as well as in the supplementary material (Stata format).


Dofiles:

"Preparing variables.do": Includes the code to recode and generate the variables used in the analyses in the article as well as in the supplementary material (Stata format). 
This dofile must be run before the other dofiles. 
Use together with “Data1.dta”, “Data2.dta”, “Data3.dta” and “Data4.dta”. This dofile produces “prepared data 1.dta”, “prepared data 2.dta”, “prepared data 3.dta” and “prepared data 4.dta”.

“Analyses.do”: Includes the codes used to produce the results reported in the article (Stata format). 
The "Preparing variables.do" should be run first.
Use together with “prepared data 1.dta”, “prepared data 2.dta”, “prepared data 3.dta” and “prepared data 4.dta”.

“Supplementary material.do”: Includes the codes used to produce the descriptive statistics and additional analyses reported in the supplementary material (Stata format). 
The "Preparing variables.do" should be run first.
Use together with “prepared data 1.dta”, “prepared data 2.dta”, “prepared data 3.dta” and “prepared data 4.dta”.


Other material:

“Figure2.exl”: Includes Figure 2.  

“Replicationcodebook.pdf”: Includes the original survey questions and background questions for all datasets employed in the reported analyses. 
